<template>
 <div></div>
</template>

<script>
    export default {
        data () {

        },
        mounted(){
          this.logout();
        },
        methods: {
            logout (name) {
                let $this = this;
                this.$api.logout(function(resp){
                    if(resp){
                        console.log(resp)
                    }
                    location.href="#/login";
                    location.reload(true);
                });
            }
        }
    }
</script>
